home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wayzata's Best of Shareware PC/Windows 1
/
Wayzata's Best of Shareware for PC-Windows - Release 1 - Wayzata Technology (1993).iso
/
mac
/
WINDOWS
/
MISCUTIL
/
WLIT21
/
WINLITEA.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-08-17
|
6KB
|
198 lines
@echo off
echo.
echo.
echo WELCOME TO WINLITE 2.1!
echo.
echo PRESS CTRL-C TO EXIT AT ANY TIME!
echo.
echo.
echo.
echo This batch file will create a full working version of Microsoft
echo Windows 3.1 on a single HIGH-DENSITY 3.5 " (1.44 MB) floppy disk!
echo This file will write to drive a:. Use winliteb to write to drive b:.
echo It will NOT affect your current Windows 3.1 setup in any way.
echo.
pause
if not exist pkzip.exe goto err6
if not exist pkunzip.exe goto err6
if not exist %1\win.com goto err3
if not exist %1\system\olesvr.dll goto err2
echo Insert a blank, formatted floppy in your 1.44 MB (3.5") a: drive NOW!
echo If you don't have one, press CTRL-C and format it using FORMAT A:
echo You must have approximately 3 MB free working space on your C: drive
echo If you don't have enough, exit now and clear some space.
echo (You can have it back in a few minutes!)
echo.
pause
if not exist a:\nul goto err1
echo Here's what's on the disk now. It should say "File not found".
dir a: /w
echo.
pause
echo Please wait while WinLite creates your C:\WINLITE directory.
echo.
if not exist c:\winlite\nul mkdir c:\winlite
if not exist c:\winlite\system\nul mkdir c:\winlite\system
echo Please wait while WinLite copies the required files to it!
echo.
copy .\M31.REC c:\winlite
copy .\MY.CRD c:\winlite
copy %1\CARDFILE.EXE c:\winlite
copy %1\CLIPBRD.EXE c:\winlite
copy %1\CLOCK.EXE c:\winlite
copy .\CLOCK.INI c:\winlite
copy .\CONTROL.INI c:\winlite
copy .\DOSPRMPT.PIF c:\winlite
copy .\TUNE_UP.WRI c:\winlite
copy %1\SCRNSAVE.SCR c:\winlite
copy .\PRESENT2.WRI c:\winlite
copy %1\NOTEPAD.EXE c:\winlite
copy %1\PBRUSH.DLL c:\winlite
copy %1\PBRUSH.EXE c:\winlite
copy %1\PROGMAN.EXE c:\winlite
copy .\WIN.INI c:\winlite
copy %1\RECORDER.DLL c:\winlite
copy %1\RECORDER.EXE c:\winlite
echo Copy 25 per cent complete
copy %1\REG.DAT c:\winlite
copy .\SDKBOXES.EXE c:\winlite
copy .\SYSTEM.INI c:\winlite
copy %1\TASKMAN.EXE c:\winlite
copy .\ACCESS31.GRP c:\winlite
copy %1\WIN.COM c:\winlite
copy %1\WINFILE.EXE c:\winlite
copy .\WINFILE.INI c:\winlite
copy .\WINLITE.BMP c:\winlite
copy %1\WINVER.EXE c:\winlite
copy %1\WRITE.EXE c:\winlite
copy .\_DEFAULT.PIF c:\winlite
copy .\REGISTER.TXT c:\winlite
copy .\README.TXT c:\winlite
copy .\PROGMAN.SAV c:\winlite
echo Copy 50 per cent complete
copy .\CONTROL.SAV c:\winlite
copy .\SYSTEM.SAV c:\winlite
copy .\WIN.SAV c:\winlite
copy .\MAIN31.GRP c:\winlite
copy .\START31.GRP c:\winlite
copy .\PROGMAN.INI c:\winlite
copy .\MANUAL.TXT c:\winlite
copy .\DELETEME.TXT c:\winlite
attrib +r c:\winlite\register.txt
attrib +r c:\winlite\readme.txt
copy %1\system\COMM.DRV c:\winlite\system
copy %1\system\COMMDLG.DLL c:\winlite\system
copy %1\system\COURE.FON c:\winlite\system
copy %1\system\DDEML.DLL c:\winlite\system
copy %1\system\DOSX.EXE c:\winlite\system
copy %1\system\DSWAP.EXE c:\winlite\system
copy %1\system\GDI.EXE c:\winlite\system
copy %1\system\KEYBOARD.DRV c:\winlite\system
copy %1\system\KRNL286.EXE c:\winlite\system
copy %1\system\MMSOUND.DRV c:\winlite\system
copy %1\system\MOUSE.DRV c:\winlite\system
copy %1\system\OLECLI.DLL c:\winlite\system
copy %1\system\OLESVR.DLL c:\winlite\system
copy %1\system\SERIFE.FON c:\winlite\system
copy %1\system\SETUP.REG c:\winlite\system
copy %1\system\SHELL.DLL c:\winlite\system
copy %1\system\SSERIFE.FON c:\winlite\system
copy %1\system\SYSTEM.DRV c:\winlite\system
copy %1\system\TOOLHELP.DLL c:\winlite\system
echo Copy 75 per cent complete
copy %1\system\USER.EXE c:\winlite\system
copy %1\system\VER.DLL c:\winlite\system
copy %1\system\VGA.DRV c:\winlite\system
copy %1\system\VGACOLOR.2GR c:\winlite\system
copy %1\system\VGAFIX.FON c:\winlite\system
copy %1\system\VGAOEM.FON c:\winlite\system
copy %1\system\VGASYS.FON c:\winlite\system
copy %1\system\WIN.CNF c:\winlite\system
copy %1\system\WIN87EM.DLL c:\winlite\system
copy %1\system\WINOLDAP.MOD c:\winlite\system
copy %1\system\WSWAP.EXE c:\winlite\system
echo Copying batch files to floppy
copy .\installa.bat a:\
copy .\install.bat a:\
copy .\updatea.bat a:\
copy .\update.bat a:\
copy .\pkzip.exe a:\
copy .\pkunzip.exe a:\
echo.
echo Compressing WinLite to floppy -- Please wait!
echo The archive will be called mywin31.zip.
echo.
.\pkzip -rp a:\mywin31.zip c:\winlite\*.*
if errorlevel 1 goto err5
echo.
echo SUCCESS!
echo.
c:
cd c:\winlite
echo.
echo Run Winlite from the winlite directory on your C: drive by typing:
echo C:
echo CD WINLITE
echo.
echo Start WinLite up by typing: WIN/S
echo.
echo Note: WinLite runs in standard mode only.
echo (You must have installed himem.sys in your config.sys file).
echo.
echo If you make changes to WinLite, you can save them by running
echo the UPDATE batch file on the floppy. To reinstall WinLite after
echo erasing it, use the INSTALL batch file on the floppy. You may
echo need to modify it, depending on how your system is configured.
echo TYPE this batch file to re-read these instructions. GOOD LUCK!
goto end
:err1
echo WinLite can't find your 3.5" drive!
goto end
:err2
echo You have specified a Windows 3.0 directory. This batch file
echo only works with version 3.1. Sorry, please read the instructions
goto end
:err3
echo WinLite needs to know where your current copy of Windows 3.1 is stored
echo Next time, type "winliteb c:\windows " (or wherever you have Windows 3.1)
goto end
:err4
echo Unable to compress WinLite. Free additional disk space and try again.
goto end
:err5
echo Unable to write mywin31.zip to floppy.
echo Reformat the floppy and make sure it's completely blank.
goto end
:err6
echo Can't find pkzip.exe and/or pkunzip.exe!
echo Make sure you are running this batch file from the directory
echo where you unzipped WLIT21.ZIP. Run PKZ102.EXE and then try
echo this batch file again.
goto end
:end
echo.
echo.